1bashThis demonstrates using sudo to execute a command as the superuser and retrieve the current and elevated user's username.NAME1=$(whoami) NAME2=$(sudo whoami) echo "Was $NAME1, then became more powerful $NAME2"external toolssudoprivilege escalation